package data_structure.implement;

/**
 * Stack is a special data structure
 * No mater the addition or the deletion ,the corresponding data's position is the top of this Stack
 *
 * @param <E>
 */
public interface StackImp<E> {
    void push(E e);
    E pop();
    E peek();
    boolean isEmpty();
    int getSize();
}
